package com.tarena.lbs.message.web;

import com.tarena.lbs.message.web.event.input.TriggerMsgInputSource;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.stream.annotation.EnableBinding;

@SpringBootApplication(scanBasePackages = {
    "com.tarena.lbs.message",
    "com.tarena.lbs.common.security"
})
@MapperScan("com.tarena.lbs.message.web.mapper")
@EnableBinding(TriggerMsgInputSource.class)
public class MessageWeb {
    public static void main(String[] args) {
        org.springframework.boot.SpringApplication.run(MessageWeb.class, args);
    }
}
